﻿@inherits LayoutComponentBase

@using TinyMessenger;



<div class="sidebar">
    <NavMenu />
</div>

<div class="main">

    <div class="top-row px-4">
        <LoginDisplay />        
    </div>
    <CascadingValue Value="messageBox">
        <div class="content px-4">
            @Body
        </div>
    </CascadingValue>
    <ComponentMessageBox @ref="messageBox" />
</div>
@code {

    public ComponentMessageBox messageBox;
    protected override async Task OnInitializedAsync()
    {
        
    }

}